package com.ly.heart.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ly.common.core.domain.ActCurrentTaskVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@ApiModel(value="采购申请单返回Vo")
@JsonInclude(JsonInclude.Include.ALWAYS)
@Accessors(chain = true)
public class KingPurchaseApplyVo {

    @ApiModelProperty ("采购申请单id")
    private String id;

    @ApiModelProperty ("单据编号")
    private String docCode;

    @ApiModelProperty ("单据类型")
    private String docType;

    @ApiModelProperty ("申请日期")
    @JsonFormat (pattern = "yyyy-MM-dd")
    private Date applyTime;

    @ApiModelProperty ("物料Id")
    private String materialId;

    @ApiModelProperty ("物料编码")
    private String materialCode;

    @ApiModelProperty ("物料名称")
    private String materialName;

    @ApiModelProperty ( "规格型号" )
    private String model;

    @ApiModelProperty ("申请数量")
    private String purchaseNum;

    @ApiModelProperty ("批准数量")
    private String approveNum;

    @ApiModelProperty ("到货日期")
    @JsonFormat (pattern = "yyyy-MM-dd")
    private Date arrivalTime;

    @ApiModelProperty ("计价单位")
    private String pricingUnit;

    @ApiModelProperty ("批号")
    private String batchNum;

    @ApiModelProperty ("行号")
    private String lineNumber;

    @ApiModelProperty ("状态")
    private String state;

    @ApiModelProperty ("状态名称")
    private String stateName;

    @ApiModelProperty ( "流程实例id" )
    private String instanceId;

    @ApiModelProperty ( "当下审批人" )
    private String approvedUser;

    @ApiModelProperty ( "审批内容" )
    private String remark;

    @ApiModelProperty ( "当前任务信息" )
    private ActCurrentTaskVo currentTask;

}
